import {App} from 'vue'
import MonacoEditor from './monaco-editor'

// 存储组件列表
const components = [
    MonacoEditor
]

const version = '0.0.1'
export const PREFIX = "Gv";

const install = (app: App): void => {
    components.forEach(component => {
        app.component(PREFIX + component.name, component)
    })
}

export {
    MonacoEditor
}

export default {
    version,
    install,
}